package com.weight.system.login.VO;

import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 登录日志表
 */
@Data
public class LoginInfoVO implements Serializable {

	private static final long serialVersionUID = 2814639517974791520L;

	@Excel(name = "登录日志id")
	@JSONField(name = "logInfoId")
	private String logInfoId; //登录日志id

	@Excel(name = "账号id")
	@NotBlank(message = "账号id不能为空")
	@JSONField(name = "operId")
	private String operId; //账号id

	@Excel(name = "登录日期")
	@NotBlank(message = "登录日期不能为空")
	@JSONField(name = "logDate")
	private String logDate; //登录日期

	@Excel(name = "登录IP")
	@NotBlank(message = "登录IP不能为空")
	@JSONField(name = "logIp")
	private String logIp; //登录IP

	@Excel(name = "经度")
	@NotBlank(message = "经度不能为空")
	@JSONField(name = "loginLon")
	private String loginLon; //经度

	@Excel(name = "纬度")
	@NotBlank(message = "纬度不能为空")
	@JSONField(name = "loginLat")
	private String loginLat; //纬度


	public  LoginInfoVO(){
		super();
	}

	public  LoginInfoVO(String logInfoId,String operId,String logDate,String logIp,String loginLon,String loginLat){
		super();
		this.logInfoId = logInfoId;
		this.operId = operId;
		this.logDate = logDate;
		this.logIp = logIp;
		this.loginLon = loginLon;
		this.loginLat = loginLat;
	}

}